summarylogtreecommitdiffstats
path: root/Double Take Linker
blob: 4282a556187b60d1aeb98d0863658575af8c5b0b (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh
home_dir_user=$USER

if [ ! -d "/home/${home_dir_user}/.config/5db5/PluginData/DoubleTake/Presets" ]; then
    mkdir -p /home/${home_dir_user}/.config/5db5/PluginData/DoubleTake
    ln -sf /usr/lib/5db5/DoubleTake/Presets /home/${home_dir_user}/.config/5db5/PluginData/DoubleTake/Presets
else
    rm -r /home/${home_dir_user}/.config/5db5/PluginData/DoubleTake/Presets
    ln -sf /usr/lib/5db5/DoubleTake/Presets /home/${home_dir_user}/.config/5db5/PluginData/DoubleTake/Presets
fi